package cn.huiyunche.base.service.vo;

import cn.huiyunche.base.service.handler.JsonDateSerializerByLine;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class COrderLogisticsVo implements Serializable {

    private static final long serialVersionUID = 5530776224000129271L;

    private Long id;

    //客户订单编号
    private String orderCode;

    //出发省
    private String departProvinceName;

    //出发市
    private String departCityName;

    private String departCountyName;

    //发车单位
    private String departUnit;

    // 到达省
    private String receiptProvinceName;

    //到达市
    private String receiptCityName;

    private String receiptCountyName;

    //接收单位
    private String receiptUnit;

    //提车日期
    @JsonSerialize(using = JsonDateSerializerByLine.class)
    private Date deliveryDate;

    //送达日期
    @JsonSerialize(using = JsonDateSerializerByLine.class)
    private Date arriveDate;

    //状态
    private Integer status;

    //状态显示文本
    private String statusText;

    //服务订单显示信息
    private List<SServiceOrderVo> sorders = new ArrayList<>();

    private Boolean isVeneer;

    private String orgin;

    private String dest;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getDepartProvinceName() {
        return departProvinceName;
    }

    public void setDepartProvinceName(String departProvinceName) {
        this.departProvinceName = departProvinceName;
    }

    public String getDepartCityName() {
        return departCityName;
    }

    public void setDepartCityName(String departCityName) {
        this.departCityName = departCityName;
    }

    public String getDepartUnit() {
        return departUnit;
    }

    public void setDepartUnit(String departUnit) {
        this.departUnit = departUnit;
    }

    public String getReceiptProvinceName() {
        return receiptProvinceName;
    }

    public void setReceiptProvinceName(String receiptProvinceName) {
        this.receiptProvinceName = receiptProvinceName;
    }

    public String getReceiptCityName() {
        return receiptCityName;
    }

    public void setReceiptCityName(String receiptCityName) {
        this.receiptCityName = receiptCityName;
    }

    public String getReceiptUnit() {
        return receiptUnit;
    }

    public void setReceiptUnit(String receiptUnit) {
        this.receiptUnit = receiptUnit;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Date getArriveDate() {
        return arriveDate;
    }

    public void setArriveDate(Date arriveDate) {
        this.arriveDate = arriveDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public List<SServiceOrderVo> getSorders() {
        return sorders;
    }

    public void setSorders(List<SServiceOrderVo> sorders) {
        this.sorders = sorders;
    }

    public String getOrgin() {
        return orgin;
    }

    public void setOrgin(String orgin) {
        this.orgin = orgin;
    }

    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    public String getDepartCountyName() {
        return departCountyName;
    }

    public void setDepartCountyName(String departCountyName) {
        this.departCountyName = departCountyName;
    }

    public String getReceiptCountyName() {
        return receiptCountyName;
    }

    public void setReceiptCountyName(String receiptCountyName) {
        this.receiptCountyName = receiptCountyName;
    }

    public Boolean getIsVeneer() {
        return isVeneer;
    }

    public void setIsVeneer(Boolean isVeneer) {
        this.isVeneer = isVeneer;
    }

    @Override
    public String toString() {
        return "COrderLogisticsVo [id=" + id + ", orderCode=" + orderCode + ", departProvinceName=" + departProvinceName
                + ", departCityName=" + departCityName + ", departUnit=" + departUnit + ", receiptProvinceName="
                + receiptProvinceName + ", receiptCityName=" + receiptCityName + ", receiptUnit=" + receiptUnit
                + ", deliveryDate=" + deliveryDate + ", arriveDate=" + arriveDate + ", status=" + status
                + ", statusText=" + statusText + ", sorders=" + sorders + "]";
    }
}
